import type { RouteRecordRaw } from 'vue-router'
export const constantRouter: RouteRecordRaw[] = [
  {
    path: '/home',
    name: 'home',
    component: () => import('@/views/home/index.vue'),
    meta: {
      title: '首页'
    }
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('@/views/about/index.vue'),
    meta: {
      title: '数据管理'
    }
  }
]
export const errorRouter = [
  {
    path: '/not-found',
    name: 'not-found',
    component: () => import('@/views/not-found/index.vue'),
    meta: {
      title: '404'
    }
  }
]
export const notFoundRouter = [
  {
    path: '/:pathMatch(.*)',
    component: import('@/views/not-found/index.vue')
  }
]
